<!DOCTYPE html>
<html>
<head>
<?php include_once VIEWS.'inc/head.php'; ?>
</head>
<body>
	<?php include_once VIEWS.'inc/header.php'; ?>
	<div class="main read">
		<div class="box">
			<div class="w1190">
				<div class="read-box f-cb">
				
				<?php if(!empty($fenye['new_con'])):?>
				<?php foreach($fenye['new_con'] as $k=>$v):?>
					<?php if($k%2==0):?>
					<a class="list pull-left" href="<?php echo site_url('read/info/'.$v['id']); ?>">
						<div class="cont-box pull-left">
							<img src="<?php echo upload_file(str_replace("thumbnail/","",$v['thumb']));?>">
						</div>
						<div class="cont-box pull-right">
							<div class="time"><?php echo date('Y / m / d',$v['timeline']);?></div>
							<h4><?php echo $v['title'];?></h4>
							<div class="text">
								<?php echo msubstr(str_replace('&nbsp;','',trim(strip_tags($v['content']))),0,120);?>
							</div>
							<span class="more">Read More</span>
						</div>
					</a>
					<?php else:?>
					<a class="list pull-left" href="<?php echo site_url('read/info/'.$v['id']); ?>">
						<div class="cont-box pull-right">
							<img src="<?php echo upload_file(str_replace("thumbnail/","",$v['thumb']));?>">
						</div>
						<div class="cont-box pull-left">
							<div class="time"><?php echo date('Y / m / d',$v['timeline']);?></div>
							<h4><?php echo $v['title'];?></h4>
							<div class="text">
								<?php echo msubstr(str_replace('&nbsp;','',trim(strip_tags($v['content']))),0,120);?>
							</div>
							<span class="more">Read More</span>
						</div>
					</a>
					<?php endif;?>
				<?php endforeach;?>
				<?php endif;?>
				
				</div>
				<div class="page-btm-box">
					<div class="page pull-left">
					<?php echo $fenye['pagelink']?>
						<!-- <img src="<?php //echo static_file('web/img/page.png'); ?>"> -->
					</div>
					<div class="pro-footer pull-right">
						<?php include_once VIEWS.'inc/footer.php'; ?>
					</div>
				</div>
			</div>
		</div>
		
	</div>
</body>
</html>
<script type="text/javascript">
	$(function(){
		$('.js-nar-bar .link').eq(2).addClass('cur');
	})
</script>